<?php

filter(function ($url, $method) {
	D('his')->insert(
		[
			'url' => $url,
			'method' => $method,
			'data' => file_get_contents('php://input'),
		]
	);
});

